package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网络配置对象 dag_config_net
 * 
 * @author NovaTian
 * @date 2022-05-12
 */
public class DagConfigNet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识符 */
    private String uuid;

    /** 区块链类型 */
    @Excel(name = "区块链类型")
    private Long dagType;

    /** 工作方式 */
    @Excel(name = "工作方式")
    private Long work;

    /** 持续时间 */
    @Excel(name = "持续时间")
    private Long duration;

    /** 发送速率 */
    @Excel(name = "发送速率")
    private Double txRate;

    /** 发送数量 */
    @Excel(name = "发送数量")
    private Long senderNum;

    /** 节点列表 */
    @Excel(name = "节点列表")
    private String nodeUrl;

    /** 查询ip */
    @Excel(name = "查询ip")
    private String queryIp;

    /** 查询port */
    @Excel(name = "查询port")
    private String queryPort;

    /** 备用1 */
    @Excel(name = "备用1")
    private String resvField1;

    /** 备用2 */
    @Excel(name = "备用2")
    private String resvField2;

    /** 备用3 */
    @Excel(name = "备用3")
    private String resvField3;

    /** 备用4 */
    @Excel(name = "备用4")
    private String resvField4;

    /** 区块高度 */
    @Excel(name = "区块高度")
    private Long blockLength;

    public void setUuid(String uuid) 
    {
        this.uuid = uuid;
    }

    public String getUuid() 
    {
        return uuid;
    }
    public void setDagType(Long dagType) 
    {
        this.dagType = dagType;
    }

    public Long getDagType() 
    {
        return dagType;
    }
    public void setWork(Long work) 
    {
        this.work = work;
    }

    public Long getWork() 
    {
        return work;
    }
    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }
    public void setTxRate(Double txRate) 
    {
        this.txRate = txRate;
    }

    public Double getTxRate() 
    {
        return txRate;
    }
    public void setSenderNum(Long senderNum) 
    {
        this.senderNum = senderNum;
    }

    public Long getSenderNum() 
    {
        return senderNum;
    }
    public void setNodeUrl(String nodeUrl) 
    {
        this.nodeUrl = nodeUrl;
    }

    public String getNodeUrl() 
    {
        return nodeUrl;
    }
    public void setQueryIp(String queryIp) 
    {
        this.queryIp = queryIp;
    }

    public String getQueryIp() 
    {
        return queryIp;
    }
    public void setQueryPort(String queryPort) 
    {
        this.queryPort = queryPort;
    }

    public String getQueryPort() 
    {
        return queryPort;
    }
    public void setResvField1(String resvField1) 
    {
        this.resvField1 = resvField1;
    }

    public String getResvField1() 
    {
        return resvField1;
    }
    public void setResvField2(String resvField2) 
    {
        this.resvField2 = resvField2;
    }

    public String getResvField2() 
    {
        return resvField2;
    }
    public void setResvField3(String resvField3) 
    {
        this.resvField3 = resvField3;
    }

    public String getResvField3() 
    {
        return resvField3;
    }
    public void setResvField4(String resvField4) 
    {
        this.resvField4 = resvField4;
    }

    public String getResvField4() 
    {
        return resvField4;
    }
    public void setBlockLength(Long blockLength) 
    {
        this.blockLength = blockLength;
    }

    public Long getBlockLength() 
    {
        return blockLength;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("uuid", getUuid())
            .append("dagType", getDagType())
            .append("work", getWork())
            .append("duration", getDuration())
            .append("txRate", getTxRate())
            .append("senderNum", getSenderNum())
            .append("nodeUrl", getNodeUrl())
            .append("queryIp", getQueryIp())
            .append("queryPort", getQueryPort())
            .append("resvField1", getResvField1())
            .append("resvField2", getResvField2())
            .append("resvField3", getResvField3())
            .append("resvField4", getResvField4())
            .append("blockLength", getBlockLength())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
